/*
 * AABB.h
 *
 *  Created on: 16 mars 2011
 *      Author: seeme
 */

#ifndef AABB_H_
#define AABB_H_

#include "Bound.h"
#include "../Point.h"
#include <GL/glut.h>

class AABB: public Bound{
public:
	AABB():m_lower(), m_upper(), m_width(){};
	AABB(Point low, Point up, float width):m_lower(low), m_upper(up), m_width(width){};

	//Used for debugging only
	void draw();
	void display(bool val){m_display = val;}

private:
	Point m_lower, m_upper;
	float m_width;
	bool m_display;
};

#endif /* AABB_H_ */
